package com.itheima05;

/**
 * @author Xiao
 * @date 2021/7/17
 */
public class InnerClassDemo01 {
    public static void main(String[] args) {
        Outer o = new Outer();
        o.method();
    }
}

class Outer {
    private class Inner {
        public void show() {
            System.out.println("私有内部类show方法");
        }
    }
    public void method() {
        Inner i = new Inner();
        i.show();
    }
}